age = int(input("请输入年龄："))

def is_adult(age):
    if age < 18:
        raise ValueError("你还未成年")

try:
    is_adult(age)
except ValueError as e:
    print(e)

print("continue")